package com.hsh.service.impl;

import com.hsh.bean.Ranking;
import com.hsh.dao.RankingDao;
import com.hsh.dao.impl.RankingDaoImpl;
import com.hsh.service.RankingService;

import java.util.List;

public class RankingServiceImpl implements RankingService {
    RankingDao rankingDao = new RankingDaoImpl();
    @Override
    public List<Ranking> getRankings() {
        return rankingDao.getRankings();
    }
}
